home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 API Bible / Windows 95 API Bible 3 Disc Set.iso / Win32 API Bible Book 1 of 3 / CHAPTER9 / SETCURSP.EXE / [0]
Text File  |  1996-01-29  |  464b  |  12 lines

  1. yout()
  2. Example    This example retrieves the active keyboard layout name for the application and displayes it in a message box when the user selects the ôTest!ö menu item.
  3. LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
  4. {
  5.    switch( uMsg )
  6.    {
  7.       case WM_COMMAND :
  8.               switch( LOWORD( wParam ) )
  9.               {
  10.                   case IDM_TEST :
  11.                         {
  12.                            char szKBName[ KL_NAMEL